package mlz.b_extends.demo2;

//狗类
public class Dog extends Animal{
    //private String name;
    private String tail;

    public Dog() {
    }

//    public String getName() {
//        return name;
//    }
//
//    public void setName(String name) {
//        this.name = name;
//    }

    public String getTail() {
        return tail;
    }

    public void setTail(String tail) {
        this.tail = tail;
    }
}
